﻿#requires -version 4.0
#requires –runasadministrator
$content = $psise.CurrentFile.Editor.Text
$token = $null
$errors = $null
 
$token = [System.Management.Automation.PSParser]::Tokenize($content, [ref]$errors)
 
$token | Out-GridView

$files = Get-ChildItem -Path $env:windir\system32 -Filter *.dll |
 ForEach-Object { $_.VersionInfo }

 $files[0]

 $dateTimeStr = '20141231T23:59:59'
$format = 'yyyyMMddTHH:mm:ss'
$formatProvider = [Globalization.CultureInfo]::InvariantCulture
[datetime]::ParseExact($dateTimeStr,$format,$formatProvider)


$now=Get-Date
$d.ToString('yyyyMMddTHH:mm:ss')